#include "Ray.h"

namespace Math{
    Ray::Ray(){}
    
    Ray::Ray(const Vector position,Vector direction){
        m_Position = position;
        m_Direction = direction.normal();
    }
	void Ray::setPosition(const Vector &v) {
		m_Position = v;
	}
	void Ray::setDirection(const Vector &v) {
		m_Direction = v;
	}
    Vector& Ray::getPosition() const {
        return (Vector&)m_Position;
    }
    Vector& Ray::getDirection() const {
        return (Vector&)m_Direction;
    }
}
